home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
Ss-Sz
/
StoryWriter1.2.cpt
/
Story Writer 1.2
/
card_2901.txt
< prev
next >
Wrap
Text File
|
1988-02-16
|
4KB
|
163 lines
-- card: 2901 from stack: in.2
-- bmap block id: 6645
-- flags: 0000
-- background id: 2747
-- name: title
----- HyperTalk script -----
on openCard
hide menubar
hide message
tabKey
end openCard
-- part 1 (field)
-- low flags: 00
-- high flags: 4000
-- rect: left=173 top=141 right=159 bottom=460
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: title
-- part 2 (field)
-- low flags: 00
-- high flags: 4000
-- rect: left=220 top=165 right=183 bottom=460
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: character
-- part 3 (field)
-- low flags: 00
-- high flags: 4000
-- rect: left=135 top=189 right=223 bottom=460
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: theme
-- part 4 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=123 top=301 right=320 bottom=231
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Write Story
----- HyperTalk script -----
on mouseUp
get line 1 of card field "title"
if it is empty then
answer "Give your story a title."
click at 315, 152
exit mouseUp
end if
put it into card field "title" of card "write story"
put it into card field "title" of card "show story"
get line 1 of card field "character"
if it is empty then
answer "Name character(s) for your story."
click at 339, 175
exit mouseUp
end if
put it into card field "character" of card "write story"
put line 1 to 2 of card field "theme" into card field "theme" of card "write story"
put empty into card field "final" of card "show story"
put empty into card field "last words" of card "write story"
visual effect scroll up
go to card "write story"
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=353 top=301 right=320 bottom=441
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Instructions
----- HyperTalk script -----
on mouseUp
push card
visual effect iris open
go to card "Instructions"
end mouseUp
-- part 6 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=453 top=301 right=321 bottom=494
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Quit
----- HyperTalk script -----
on mouseUp
answer "Quit HyperCard or go to Home Card?" with "Cancel" or "Quit" or "Go Home"
if it is "Go Home" then
go home
exit mouseUp
end if
if it is "cancel" then exit mouseUp
else visual effect zoom in
domenu "Quit Hypercard"
end mouseUp
-- part 17 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=242 top=301 right=320 bottom=339
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
answer "Which story would you like to read?" with "Story 1" or "Story 2" or "Story 3"
visual effect scroll up
go to card it
end mouseUp